﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ShowHomePage
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<% using (Html.BeginForm()) {%>
    <div>
        <div>
        <textarea id="NewBlogTextArea" name="S1" 
            
                style="height: 60px; width: 400px; margin-left: 50px; margin-bottom:20px; margin-top:20px;" 
                cols="20" rows="1"></textarea><input id="NewBlogButton" type="button" value="发表新博文" /></div>
        &nbsp;
        </div>
    <div>
        <div>
        <% string focusimage = ViewData["FocusImage"] as string; %>
        <img alt="" src='<%=Url.Content("~/" + focusimage)%>'  style="margin:20px 10px 20px 50px"/>
        <input id="Button4" style="height: 50px; width: 360px" type="button" 
            value="" />
         <div style=" margin-left:50px; float:left">
        发表时间：<%:ViewData["Edittime"] %>
        </div>
        <div style=" margin-left:250px; float:left">
        可出售
         
        </div>
        <div>
        <input id="Button5" type="button" value="显示更多" 
                style="height: 30px; width: 400px; margin:10px 50px 10px 50px" />
        </div>
            
        </div>
    </div>
  <% }%>  
 </asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <% using (Html.BeginForm()) {%>  
    <div>
    <%
    string userimage = ViewData["UserImage"] as string;
    if (userimage == null)
    {
        throw new ArgumentNullException("ViewData[\"UserImage\"]");
    }
%>
    <p>
     <img alt="" src='<%=Url.Content("~/" + userimage)%>'  style="margin:20px 10px 20px 10px" />
    </p>
    <div style="width: 238px; margin-left: 26px; height: 19px;">
   
        昵称：<%: ViewData["Nickname"] %>&nbsp;&nbsp; 所在地：<%: ViewData["Location"] %>&nbsp;&nbsp; 关注：<%: ViewData["FocusNumber"] %></div>
    <div>
       <input id="Button1" type="button" value="添加关注" style=" margin-left:50px; float:left" />
     </div>
        <div id="allinfo">
                <ul>
                    <li><a href="http://weibo.com/tmarty"><%: ViewData["UserArticle"]%>篇个人博文</a></li>
                    <li><a href="http://weibo.com/tmarty"><%: ViewData["UserArticle"]%>件个人物品</a></li>
                    <li><a href="http://weibo.com/tmarty"><%: ViewData["UserArticle"]%>篇收藏博文</a></li>
                    <li><a href="http://weibo.com/tmarty"><%: ViewData["UserArticle"]%>件个人藏品</a></li>
                    <li><a href="http://weibo.com/tmarty"><%: ViewData["UserArticle"]%>个关注的人</a></li>
                </ul>
            </div>
    </div>
    
   
   <%} %> 
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
